package com.woniuxy.rbac.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.woniuxy.rbac.entity.Role;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author: linKe
 * @Date: 2021/11/22 20:20
 * @FileName: RoleMapper
 * @version: 1.0
 * @Description: 角色持久层
 */
@Mapper
public interface RoleMapper extends BaseMapper<Role> {

    /**
     * 查询虽所有id
     * @return  所有id字符串
     */
     List<String> findIds();

     List<Role> searchAllById(int id);




}
